/*
 * Copyright (C) 2021 Fastjrun, Inc. All Rights Reserved.
 */
package com.fastjrun.share.demo;

import com.fastjrun.security.config.SpringSecurityConfig;
import com.fastjrun.share.demo.config.AppConfig;
import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@Import({SpringSecurityConfig.class,AppConfig.class})
public class ProviderStartApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ProviderStartApplication.class)
                .bannerMode(Banner.Mode.CONSOLE)
                .run(args);
        System.out.println(ProviderStartApplication.class.getResource("/"));
    }
}
